//
//  ContentViewController.m
//  MyReader
//
//  Created by hh on 15/12/11.
//  Copyright © 2015年 hh. All rights reserved.
//

#import "ContentViewController.h"

@interface ContentViewController ()
{
    UITextView *tv;
}
@end

@implementation ContentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    CGRect rect = self.view.bounds;
    rect.origin.y = 0;
    rect.size.height -= 64 + 44;
    tv = [[UITextView alloc] initWithFrame:rect];
    tv.text = _text;
    tv.font = [tv.font fontWithSize:24.0];
    tv.editable = NO;
    tv.scrollEnabled = NO;
    [self.view addSubview:[UIView new]];
    [self.view addSubview:tv];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
